/*
 * File:    WorkerWriteMessage.java
 * Created: 17-Jun-2007
 * Version: $Id$
 * 
 * COPYRIGHT (C) 2007, Bitgate Software, LLC.  All Rights Reserved.
 *
 * software@bitgatesoftware.com
 */

package com.bitgate.util.service;

import com.bitgate.util.service.client.ClientContext;

/**
 * Informs the <code>Worker</code> object that a write operation has been requested.
 * 
 * @author khollis
 */
public class WorkerWriteMessage
{
	private final ClientContext cContext;
	
	/**
	 * Constructs a new write message object.
	 * 
	 * @param cContext The <code>ClientContext</code> object associated with the request.
	 */
	public WorkerWriteMessage(ClientContext cContext)
	{
		this.cContext = cContext;
	}
	
	/**
	 * Retrieves the <code>ClientContext</code> object associated with this request object.
	 * 
	 * @return <code>ClientContext</code> object.
	 */
	public ClientContext getClientContext()
	{
		return this.cContext;
	}
}